package com.roadjava.demo01.bean;

import java.time.LocalDateTime;

public class UserInfo1 {

    private Long id;

    /**
     * 不能是 null，""，" "
     */
    private String name;

    /**
     * 正整数，1-800
     */
    private Integer age;

    /**
     * email的格式
     */
    private String email;

    /**
     * 符合中国大陆手机号格式
     */
    private String phone;

    /**
     * 在当前日期之前
     */
    private LocalDateTime birthDay;
    /**
     * 网址的格式
     */
    private String personalPage;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public LocalDateTime getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(LocalDateTime birthDay) {
        this.birthDay = birthDay;
    }

    public String getPersonalPage() {
        return personalPage;
    }

    public void setPersonalPage(String personalPage) {
        this.personalPage = personalPage;
    }
}